<? global $lg, $FullUrl; ?>

<div class="frame-container">
  <div class="right_title">
    <h4>
      <?=MEMBER ?>
    </h4>
  </div>
  <div id="frame_center">
    <div class="register">
      <form method="post" action="<?php echo $FullUrl ?>/index.php?do=member&amp;act=loginsm&lg=<?=$lg?>">
        <p class="pelement">
              <?=EMAIL?>
            </p>
            <p>
          <input type="text" name="email" id="email" class="txt_name"/>
        </p>
        <p class="pelement">
              <?=PASSWORD?>
            </p><p>
           <input type="password" name="password" id= "password" class="txt_name"/>
        </p>
        <?
            if(isset($_SESSION['counter_login']))
            {
                if($_SESSION['counter_login'] != NULL && $_SESSION['counter_login'] > 1)
                { ?>
        <center>
          <img style="margin:10px 0;" src="<?php echo $FullUrl; ?>/CaptchaSecurityImages.php?width=100&amp;height=40&amp;characters=6" />
        </center>
        <p class="security">
          <input name="security_code" type="text" id="security_code" class="txt_name" />
        </p>
        <?	}
            }?>
        <br/>    
        <p class="btn_reg_form padding-top-10px">
          <input type="submit" class="reg no-margin" value="<?= SIGN_IN ?>" onclick="return CheckAllEmailPassword();" />
          <input type="reset" class="retry" value="<?= BTN_REGISTER_RETRY ?>" />
        </p>
        <br/><br/><br/>
        <a class="forgot_pass" href="<?=$FullUrl. $prefix_url?>forgot-password.html">
        <?= FORGOT_PASS ?>
        </a>
      </form>
    </div>
  </div>
</div>
<?=isset($_SESSION['mess'])?AlertMessage($_SESSION['mess']):''; unset($_SESSION['mess']);?>
